Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add factory #74

Closed
wants to merge 1 commit into from
Closed

Add factory #74

wants to merge 1 commit into from

Conversation

MerlinEgalite
Copy link
Contributor

because it will save us time

@MerlinEgalite MerlinEgalite requested review from a team, adhusson, Rubilmax, QGarchery, MathisGD and Jean-Grimal and removed request for a team February 16, 2024 18:40
Comment on lines +24 to +50
event CreateChainlinkOracle(
address oracle,
address caller,
address baseVault,
uint256 baseVaultConversionSample,
address quoteVault,
uint256 quoteVaultConversionSample,
bytes32 salt
);

/// @notice Emitted when a new Chainlink oracle is created.
/// @param oracle The address of the Chainlink oracle.
/// @param baseFeed1 First base feed.
/// @param baseFeed2 Second base feed.
/// @param quoteFeed1 First quote feed.
/// @param quoteFeed2 Second quote feed.
/// @param baseTokenDecimals Base token decimals.
/// @param quoteTokenDecimals Quote token decimals.
event CreateChainlinkOracleFeeds(
address oracle,
address baseFeed1,
address baseFeed2,
address quoteFeed1,
address quoteFeed2,
uint256 baseTokenDecimals,
uint256 quoteTokenDecimals
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that we can just log the address

src/ChainlinkOracleFactory.sol Show resolved Hide resolved
@MathisGD
Copy link
Contributor

replaced by #77

@MathisGD MathisGD closed this Feb 19, 2024
@MathisGD MathisGD deleted the feat/factory branch February 19, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants